//
//  TTMineViewController.swift
//  NewWeiBo
//
//  Created by 吴天益 on 2017/7/22.
//  Copyright © 2017年 ttt. All rights reserved.
//

import UIKit

class TTMineViewController: TTBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        
        visitView?.theUIOfOtherController(imageName: "visitordiscover_image_profile", discribe: "第四个控制器")
        
        navigationItem.leftBarButtonItem = nil

        navigationItem.rightBarButtonItem = UIBarButtonItem.init(title: "push", target: self, action: #selector(pushController))
        
        
        
    }
    
    //MARK:
    //MARK: -- 右边item跳转控制器
    func pushController(){
        
        let textVC = TTTestViewController()
        
        //隐藏tabbar
        textVC.hidesBottomBarWhenPushed = true
        
        navigationController?.pushViewController(textVC, animated: true)
    }
    

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
